Skip to main content

Date Question

AutomatR.GoogleForms.Activities.DateQuestion

The "Date Question" activity in AutomatR is part of the Google Forms activities package, allowing the automation process to create a new date-related question within a Google Form. This activity simplifies the process of adding date-based queries to forms and provides various configuration options.

Properties

NameDescription
Input
Form IDThe unique identifier of the form where the date question should be added. String variables containing the Form ID. This field is required.
TitleThe title of the date question. String variables containing the title of the question. This field is required.
DescriptionThe description or additional information related to the date question. String variables containing the description.
RequiredIndicates whether the date question is required or not. Boolean variables containing the requirement status.
LocationThe location or position where the question should be created within the form. Integer variables containing the location index.
Include YearSpecifies whether the date question includes the year value. Boolean variables indicating whether to include the year.
Include TimeSpecifies whether the date question includes the time value. Boolean variables indicating whether to include the time.
Miscellaneous
Display NameProvides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name.
Optional
DelaySpecifies the amount of time (in seconds) to wait before starting the activity. Useful for handling synchronization issues. Integer variables containing the delay duration. Example: If the amount of time is 1000 milliseconds or 1 sec, i.e., 1.
Output
ResultReturns the response as Form Details in a BatchUpdateFormResponse format. Variables of type BatchUpdateFormResponse to store the response.

How to use:

  1. Drag and drop the "Date Question" activity onto the workflow.
  2. Configure the properties by specifying the form ID, title, and optional settings such as description, requirement status, location, year inclusion, and time inclusion.
  3. Optionally, configure the delay before starting the activity.
  4. Execute the workflow to add a date question to the specified Google Form.

Example:

Consider an example where the "Date Question" activity is used to add a required date question titled "Event Date" with a description, located at index 3, including the year and time to a Google Form:

Date Question:
Form ID: "formId"
Title: "Event Date"
Description: "Select the date of the event"
Required: true
Location: 3
Include Year: true
Include Time: true
Delay: 2
Result: formResponse

In this example, the activity adds a date question to the specified Google Form with the provided configuration. The response is stored in the variable "formResponse" for further handling in the workflow.